package com.ebring.shareEducation.service;

import com.ebring.shareEducation.bean.Video;
import com.ebring.shareEducation.utils.RspMsg;

/**
 * Created by Cola
 * Date  2018-12-17 11:19
 */
public interface VideoService {

    /**
     * 上传文件记录
     *
     * @param video
     * @return
     */
    RspMsg<Video> insert(Video video);

    /**
     * 获取视频列表
     *
     * @return
     */
    RspMsg<Video> select();

    /**
     * 根据视频ID获取视频信息
     *
     * @param videoId
     * @return
     */
    RspMsg<Video> selectById(String videoId);
}
